﻿using System;

namespace _49_方法的返回值如何应用特性_特性
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

        }
        [return:CheckSum]
        static string SaySomething() => "hello";
    }

    [AttributeUsage(AttributeTargets.ReturnValue)]
    public class CheckSumAttribute : Attribute
    {

    }
}
